﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="Bookmark" href="/favicon.ico" >
<link rel="Shortcut Icon" href="/favicon.ico"/>
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<!--[if lt IE 9]>
<script type="text/javascript" src="<%=basePath%>resources/lib/html5.js"></script>
<script type="text/javascript" src="<%=basePath%>resources/lib/respond.min.js"></script>
<script type="text/javascript" src="<%=basePath%>resources/lib/PIE_IE678.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="<%=basePath%>resources/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="<%=basePath%>resources/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="<%=basePath%>resources/static/bootstrap-3.3.7-dist/css/bootstrap.css?a=1" />
<link rel="stylesheet" type="text/css" href="<%=basePath%>resources/lib/Hui-iconfont/1.0.7/iconfont.css" />
<link rel="stylesheet" type="text/css" href="<%=basePath%>resources/lib/icheck/icheck.css" />
<link rel="stylesheet" type="text/css" href="<%=basePath%>resources/static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="<%=basePath%>resources/static/h-ui.admin/css/style.css?1" />
<!--[if IE 6]>
<script type="text/javascript" src="<%=basePath%>resources/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>我的桌面</title>
</head>
<body>
<div class="page-container">
	<p class="f-20 text-success" align="center">欢迎使用火狸游戏订单管理系统
		<span class="f-14">v1.0&nbsp;&nbsp;</span><br>
		<span class="f-16"><font color="red" size="5">${money}</font></span>
		<span class="f-16">平台累计发单:<font color="red" size="5">${orderAllCount}</font>单,</span>
		<span class="f-25">累计接单:<font color="red" size="5">${tradeAllCount}</font>单</span><br>
		<span class="f-16"><font color="red" size="5">请尽快完善个人资料,以免管理员无法正常给你结算</font></span>
		<%--<span class="f-16">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;遇到问题,可以:</span>--%>
		<%--<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=493973799&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:270863798:51" alt="联系管理员" title="联系管理员"/></a>--%>
	</p>
	<%--<c:forEach items="${TRADE_COUNTS}" var="order" >
		<c:out value="${order.key}"/>
		:
		<c:out value="${order.value}"/><br>
	</c:forEach>
	<br>--%>
</div>
<div class="container rowClass">
	<div class="row order" heigth="7.5%" style="margin-left: auto;margin-right: auto;margin-top: 30px;border-radius: 5px;">
		<c:if test="${(userSession.type eq 2)or(userSession.type eq 1)}">
		<div class="col-sm-6 text-center" style="color:orange;border-right: 1px solid #fbdbc1;">
			<a _href="<%=basePath%>order/orderAdd" style="color:orange;text-decoration:none" data-title="我要发单"
			   href="javascript:void(0)" onclick="Hui_admin_tab(this)">我要发单</a>
		</div>
		</c:if>
		<c:if test="${userSession.type eq 3}">
		<div class="col-sm-6 text-center" style="color:orange;border-right: 1px solid #fbdbc1;">我要发单</div>
		</c:if>
		<div class="col-sm-6 text-center" style="color:green">
			<a _href="<%=basePath%>order/orderList?gameId=-1" style="color:red;text-decoration:none" data-title="我要接单"
			   href="javascript:void(0)" onclick="Hui_admin_tab(this)">我要接单（${can}）</a>
		</div>
	</div>

	<div class="row orderInfo" heigth="90%" style="margin-left: auto;margin-right: auto;margin-top: 30px;border-radius: 5px;">
		<div class="col-sm-6  releaseOrders" style="border-top-left-radius: 5px;border-bottom-left-radius: 5px;margin:0 auto;">
			<div class="col-sm-2 " style="margin:20px auto;border-radius: 5px;width:43%;">
				<div class="text-center" style="font-size: 20px;margin: 20px auto;line-height: 60px;">
				<span class="glyphicon glyphicon-chevron-right" style="border-right: 1.5px solid #d56406;float: left;height:25px;width:40px;margin-top:17px;margin-left:10px;">
				</span>
					<span>发单流程</span>
				</div>
				<ul class=" ul1 text-center">
                    <c:if test="${(userSession.type eq 2)or(userSession.type eq 1)}">
                            <li><a _href="<%=basePath%>order/orderAdd" data-title="发布订单"
								   href="javascript:void(0)" onclick="Hui_admin_tab(this)">发布订单</a></li>
                    </c:if>
                    <c:if test="${userSession.type eq 3}">
                        <li>发布订单</li>
                    </c:if>
					<li style="background-color: #fdefe5;border: 0px;"><i class="glyphicon glyphicon-chevron-down" style="font-size: 20px;color:#fdad66;"></i></li>
					<li><a _href="<%=basePath%>order/orderList?gameId=-1" data-title="订单管理"
						   href="javascript:void(0)" onclick="Hui_admin_tab(this)">订单管理</a></li>
                    <li style="background-color: #fdefe5;border: 0px;"><i class="glyphicon glyphicon-chevron-down" style="font-size: 20px;color:#fdad66;"></i></li>
                    <li><a _href="<%=basePath%>trade/tradeList?tradeStatus=1" data-title="审核(限管理员)"
						   href="javascript:void(0)" onclick="Hui_admin_tab(this)">审核(限管理员)</a></li>
					<li style="background-color: #fdefe5;border: 0px;"><i class="glyphicon glyphicon-chevron-down" style="font-size: 20px;color:#fdad66;"></i></li>
					<li><a _href="<%=basePath%>trade/tradeList?tradeStatus=3" data-title="验收(限管理员)"
						   href="javascript:void(0)" onclick="Hui_admin_tab(this)">验收(限管理员)</a></li>
					<li style="background-color: #fdefe5;border: 0px;"><i class="glyphicon glyphicon-chevron-down" style="font-size: 20px;color:#fdad66;"></i></li>
					<li><a _href="<%=basePath%>trade/tradeList?tradeStatus=4" data-title="结算(限管理员)"
						   href="javascript:void(0)" onclick="Hui_admin_tab(this)">结算(限管理员)</a></li>
				</ul>
			</div>
			<div class="col-sm-2 " style="float:right;margin:20px auto;border-radius: 5px;width:43%;">
				<div class="text-center" style="font-size: 20px;margin-top: 20px;margin-left:auto;margin-right:auto;line-height: 60px;">
				<span class="glyphicon glyphicon-chevron-right" style="border-right: 1.5px solid #d56406;float: left;height:25px;width:40px;margin-top:17px;margin-left:10px;">
				</span>
					<span>发布者</span>
				</div>
				<ul class=" ul2 text-center" style="">
					<%--<li>未接手的（<a style="color:red;text-decoration:none">123</a>）</li>
					<li>正在代练（<a style="color:red;text-decoration:none">123</a>）</li>
					<li>等待验证（<a style="color:red;text-decoration:none">123</a>）</li>
					<li>订单异常（<a style="color:red;text-decoration:none">123</a>）</li>
					<li>撤销中的（<a style="color:red;text-decoration:none">123</a>）</li>
					<li style="border-bottom: 0px;color:#626262">总发单数：</li>--%>
					<c:forEach items="${ORDER_COUNTS}" var="order" >
						<li><a _href="<%=basePath%>order/orderList?orderTypeString=${order.key}"data-title="${order.key}"
							   href="javascript:void(0)" onclick="Hui_admin_tab(this)">
								${order.key}
							<font color="red">（${order.value}）</font>
						</a>
					</c:forEach>
                    <c:if test="${(userSession.type eq 2)or(userSession.type eq 1)}">
					    <li style="border-bottom: 0px;color:#626262">总发单数：${orderNumber}</li>
                    </c:if>
				</ul>
			</div>
			<span class="clearfix"></span>
		</div>
		<div class="col-sm-6  manageOrder" style="border-top-right-radius: 5px;border-bottom-right-radius: 5px;margin:0 auto;">
			<div class="col-sm-2 " style="margin:20px auto;border-radius: 5px;width:43%;">
				<div class="text-center" style="font-size: 20px;margin: 20px auto;line-height: 60px;">
						<span class="glyphicon glyphicon-chevron-right" style="border-right: 1.5px solid #34a223;float: left;height:25px;width:40px;margin-top:17px;margin-left:10px;">
				</span>
					<span>接单流程</span>
				</div>
				<ul class=" ul1 text-center">
                    <li><a _href="<%=basePath%>order/orderList?gameId=-1" data-title="申请订单"
						   href="javascript:void(0)" onclick="Hui_admin_tab(this)">申请订单</a></li>
					<li style="background-color: #e7f5e3;border: 0px;"><i class="glyphicon glyphicon-chevron-down" style="font-size: 20px;color:#abbda3;"></i></li>
                    <li><a _href="<%=basePath%>trade/tradeList?tradeStatus=1" data-title="接单管理"
						   href="javascript:void(0)" onclick="Hui_admin_tab(this)">接单管理</a></li>
					<li style="background-color: #e7f5e3;border: 0px;"><i class="glyphicon glyphicon-chevron-down" style="font-size: 20px;color:#abbda3;"></i></li>
                    <li><a _href="<%=basePath%>trade/tradeList?tradeStatus=2" data-title="传图验收"
						   href="javascript:void(0)" onclick="Hui_admin_tab(this)">传图验收</a></li>
					<li style="background-color: #e7f5e3;border: 0px;"><i class="glyphicon glyphicon-chevron-down" style="font-size: 20px;color:#abbda3;"></i></li>
                    <li><a _href="<%=basePath%>trade/tradeList?tradeStatus=4" data-title="等待结算"
						   href="javascript:void(0)" onclick="Hui_admin_tab(this)">等待结算</a></li>
                    <li style="background-color: #e7f5e3;border: 0px;"><i class="glyphicon glyphicon-chevron-down" style="font-size: 20px;color:#abbda3;"></i></li>
                    <li><a _href="<%=basePath%>trade/tradeList?tradeStatus=5" data-title="已经结算"
						   href="javascript:void(0)" onclick="Hui_admin_tab(this)">已经结算</a></li>
				</ul>
			</div>
			<div class="col-sm-2 " style="float:right;margin:20px auto;border-radius: 5px;width:43%;">
				<div class="text-center" style="font-size: 20px;margin-top: 20px;margin-left:auto;margin-right:auto;line-height: 60px;">
						<span class="glyphicon glyphicon-chevron-right" style="border-right: 1.5px solid #34a223;float: left;height:25px;width:40px;margin-top:17px;margin-left:10px;">
				</span>
					<span>接单者</span>
				</div>
				<ul class=" ul2 text-center" style="">
					<%--<li>可接手的（<a style="color:red;text-decoration:none">123</a>）</li>
					<li>正在代练（<a style="color:red;text-decoration:none">123</a>）</li>
					<li>等待验证（<a style="color:red;text-decoration:none">123</a>）</li>
					<li>订单异常（<a style="color:red;text-decoration:none">123</a>）</li>
					<li>撤销中的（<a style="color:red;text-decoration:none">123</a>）</li>
					<li style="border-bottom: 0px;color:#626262">总接单数：</li>--%>
					<c:forEach items="${TRADE_COUNTS}" var="trade" >
						<li><a _href="<%=basePath%>trade/tradeList?tradeStatusString=${trade.key}" data-title="${trade.key}"
							   href="javascript:void(0)" onclick="Hui_admin_tab(this)">
							${trade.key}
							<font color="red">（${trade.value}）</font>
						</a>
					</c:forEach>
					<li style="border-bottom: 0px;color:#626262">总接单数：${tradeNumber}</li>
				</ul>
				<span class="clearfix"></span>
			</div>
		</div>
	</div>
</div>
<footer class="footer mt-20">
	<div class="container">
		<p><br>
			Copyright &copy;2017 firecat v1.0 All Rights Reserved.<br>
			本后台系统由<a href="#" target="_blank" title="blue">.blue</a>提供技术支持</p>
	</div>
</footer>
<script type="text/javascript" src="<%=basePath%>resources/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="<%=basePath%>resources/static/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="<%=basePath%>resources/static/h-ui.admin/js/H-ui.admin.js"></script>
<script type="text/javascript" src="<%=basePath%>resources/telescopic.js?1"></script>
</body>
</html>